package com.gohi.main.system.service;

import java.util.List;
import java.util.Map;

import org.hibernate.TransactionException;

import com.gohi.main.system.hbm.ShopgooArea;
import com.gohi.main.system.hbm.ShopgooAreaBusiness;
import com.gohi.main.system.hbm.ShopgooWxBrand;


public interface ISystemService {
	
	/**
	 * 获取所有的地区
	 * @return
	 * @throws TransactionException
	 */
	public abstract List<ShopgooArea> getAre()throws TransactionException;
	/**
	 * 查询首页的轮播图片
	 * @return
	 * @throws TransactionException
	 */
	public abstract List<ShopgooWxBrand> getAllBrand()throws TransactionException;
	
	/**
	 * 根据区域查询下面的商圈
	 * @param areid
	 * @return
	 */
	public abstract List<ShopgooAreaBusiness> getBusinessByareId(String  areid);
	
	/**
	 * 根据父类ID查询下面的地方
	 * @param parid 父类的ID
	 * @return
	 */
	public abstract Map<String,List<ShopgooArea>> getAreByparid(String parid);
}
